programming4us
           
 
 
Applications Server

Exchange Server 2010 : Manage Web-Based Email Access (part 1) - Configure OWA URLs

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
6/26/2011 11:21:55 AM
Exchange Server 2010 allows users to use a web browser to access their email through an interface called Outlook Web App (OWA). While this capability existed in Exchange Server 2007 as well, significant enhancements have been made in the Exchange Server 2010 version. Some of these enhancements are
  • Redesigned user interface

  • The fact that browsers other than Internet Explorer can use the Premium functionality in OWA

  • Email conversation view

  • Integrated chat capabilities with Office Communications Server

  • Seamless browser redirection when users connect to the wrong OWA URL

From a management standpoint, we'll look at what it takes to configure OWA for production environments and how to enable some of the features offered by the web-based email client. There are three management tools that you will use when working with OWA:

  • Exchange Management Console

  • Exchange Management Shell

  • Internet Information Services (IIS) Manager

1. Configure OWA Connectivity

OWA is enabled by default on Client Access servers. Although OWA is usable in its default configuration, there are probably some changes you will want to make to optimize the way you use OWA.

1.1. Configure OWA URLs

Some services on a CAS use the concept of internal and external URLs. When Exchange is installed, the internal URL is automatically populated using the name of the server. During setup you are prompted to decide if the CAS is exposed to the Internet. If you choose not to make the CAS Internet-facing, the external URL is kept blank (Figure 1).

The external URL is used for redirecting the client to a server in the same site as the user's mailbox. Here's an example of how that works:

  1. The user browses to https://seattle.contoso.com/owa.

  2. The CAS in Seattle queries AD and determines that the user's mailbox is in Baltimore.

  3. The Seattle CAS finds a CAS that is located in Baltimore and retrieves the external URL for OWA on that CAS.

  4. The user is redirected to the external URL of the CAS in Baltimore, https://baltimore.contoso.com/owa.

Figure 1. In OWA, a non-Internet-facing CAS has no external URL setting.

If the Baltimore CAS does not have an external URL defined, the Seattle CAS will proxy connections to the Baltimore CAS instead of redirecting the user to another URL. In this case, the user remains connected to the Seattle CAS and the Seattle CAS accesses the Baltimore CAS on behalf of the user.

1.1.1. Set the Same External Name for All Services on a Client Access Server

In Exchange Server 2010, there are multiple ways to configure the URLs for OWA and other client services. If you want to set the same external DNS name for all of the services on a particular CAS, the Configure External Client Access Domain interface can be used. You do not need to perform this process if you chose to expose the CAS to the Internet when you installed Exchange.

Following this process sets the external URLs for OWA, ActiveSync, the Offline Address Book, Exchange Web Services, and the Exchange Control Panel.

  1. Open the Exchange Management Console and browse to the Server Configuration => Client Access node in the Console tree.

  2. In the Actions pane on the right, click the Configure External Client Access Domain option, as shown in Figure 2.

    Figure 2. Opening the Configure External Client Access Domain interface
  3. In the Configure External Client Access Domain interface, enter the external DNS name of the CAS in the text box. In the list box, use the Add button to add Client Access servers that will be configured to use this external DNS name. This is demonstrated in Figure 3.

    Figure 3. Configuring the external DNS name for Client Access servers
  4. Click the Configure button to set the external URLs on all of the Client Access Servers in the list.

    You may receive a warning notification when configuring the OWA URLs, indicating that you should ensure that the ECP URL has the same domain name. The ECP should also be automatically configured during this process, but to ensure that everything is working properly, do not change the ECP URL domain name to something different from the OWA URL domain name.

1.1.2. Configure an External URL on OWA Manually

Aside from using the configuration dialog box to configure the external URLs for all of the virtual directories, you can set independent external URLs manually for each of the virtual directories. The only exception to this capability is that the OWA URL and the ECP URL should have the same domain name associated with them.

To manually set the external URL for OWA using the EMC:

  1. Open the EMC and browse to the Server Configuration => Client Access node in the Console tree.

  2. In the Results pane in the middle, select the Client Access Server that you want to set the external URL on.

  3. In the Work area beneath the Results pane, select the Outlook Web App tab and click on the OWA website. In the Actions pane on the right, click the Properties option for the OWA website that you selected.

  4. In the OWA Properties dialog box, ensure that you are on the General tab. In the External URL box, type the full URL that users outside the network will use to access OWA and click OK (see Figure 4).

  5. Use the steps in the next section, "Configure the Exchange Control Panel External URL," to configure the ECP external URL to ensure that external users can access the Exchange Control Panel from OWA.

Aside from using the EMC, you can also configure the default OWA URL using the EMS:

  1. Open the Exchange Management Shell.

  2. Use the Set-OWAVirtualDirectory command with the ExternalURL parameter to configure the external URL:

    Set-OWAVirtualDirectory 

    "CONTOSO-EX01\owa (Default Web Site)"

    -ExternalURL "https://baltimore.contoso.com/owa"

    Figure 4. Setting the external URL for OWA using the OWA Properties dialog box
  3. Use the Set-ECPVirtualDirectory command to set the external URL on the Exchange Control Panel virtual directory as well. As with the OWA command, you will use the ExternalURL parameter to specify the URL.

    Set-ECPVirtualDirectory -Identity 

    "CONTOSO-EX01\ecp (Default Web Site)"

    -ExternalURL "https://baltimore.contoso.com/ecp"

1.1.3. Configure the Exchange Control Panel External URL

The ECP is the user configuration interface that is used in conjunction with OWA. When you configure OWA with an external URL, you also want to ensure that the external URL is configured for the ECP, so users can access it when they click the Options button from OWA.

To configure the ECP using the Exchange Management Console:

  1. Open the EMC and browse to the Server Configuration => Client Access node in the Console tree.

  2. In the Results pane, select the Client Access server that you want to modify the ECP external URL for.

  3. In the Work area for the CAS that you selected, select the Exchange Control Panel tab.

  4. Select the ECP virtual directory and choose Properties from the Actions pane on the right.

  5. In the properties dialog box for the ECP virtual directory, enter the external URL that you want to use into the External URL box and click OK. Ensure that you use the /ecp virtual directory instead of the /owa virtual directory that you used previously. For example, the URL might be https://baltimore.contoso.com/ecp.

1.2. Redirect the Default Server URL to OWA

To access web mail, users will type the URL to the Client Access server into their browser. By default, the URL that is set up for OWA is https://<FQDN of CAS>/owa. If a user browses to https://contoso-ex01.contoso.com without the /owa at the end of the URL, they will see the default IIS 7 website. Also, SSL is required on OWA by default, so if a user browses to the nonsecure site, http://contoso-ex01.contoso.com/owa, they are met with an Access Denied error.

By customizing the OWA URLs, we'll do the following things:

  • Ensure users are redirected to the OWA site if they leave /owa off the URL.

  • Redirect users to the SSL-enabled site if they use http instead of https.

By default, when a Client Access server is installed, it uses a self-signed certificate to secure communications for its virtual directories. Unless this self-signed certificate is trusted by the client workstations, users will receive a warning when accessing OWA. The correct way to resolve this is to install a certificate on your CAS that is issued by a certificate authority (CA) that is trusted by your clients.


To ensure that users are redirected to the correct location if they don't type /owa at the end of the URL, you will configure the default IIS site with an HTTP redirection. Follow these steps on the Client Access server to configure this redirection:

  1. Open the IIS Manager tool by clicking Start => All Programs => Administrative Tools => Internet Information Services (IIS) Manager.

  2. When IIS Manager opens, browse to the Default Web Site node in the Console tree, as shown in Figure 5.

    Figure 5. Browse to the Default Web Site node in IIS Manager.
  3. In the Work area, double-click the HTTP Redirect icon in the IIS section, as shown in Figure 6.

    Figure 6. Double-click the HTTP Redirect icon.
  4. When the HTTP Redirect options are displayed, check Redirect Requests To This Destination. For the destination, enter /owa.

    Using only the /owa location will ensure that the URL is redirected appropriately regardless of whether the user is accessing OWA from an internal URL or an external URL. Figure 7 demonstrates the configuration of the HTTP Redirect options.

    Figure 7. Configuring HTTP Redirect
  5. Click the Apply button in the Actions pane on the right to apply the HTTP Redirect configuration change.

    When you set the HTTP Redirect at the root in the default website, the HTTP Redirect settings will be inherited by every virtual directory and application beneath it. Therefore, you will need to remove the HTTP Redirect settings for OWA from each of these virtual directories and applications individually.


  6. You must now remove the inherited HTTP Redirect settings from each site under the default website. Repeat steps 2–5 for each virtual directory and application beneath the default website. However, in step 4, be sure to uncheck the option Redirect Requests To This Destination. This option should not be configured for anything other than the default website. Remember to click Apply (step 5) after configuring each virtual directory. At a minimum, this setting should be removed for the following virtual directories and applications:

    • Autodiscover

    • ecp

    • EWS

    • Microsoft-Server-ActiveSync

    • OAB

    • OWA

    • PowerShell

    • RPC

    • RpcWithCert

1.3. Redirect from HTTP to HTTPS

In addition to redirecting users from the default website to the OWA virtual directory, you should also set up a redirection from the nonsecure HTTP URL to the SSL-enabled HTTPS URL. To do this, you will create a custom error for when a user accesses the URL without SSL. This custom error will redirect the user to the HTTPS OWA URL instead of displaying an error page. To configure this, you will need to use the IIS Manager tool on the Client Access server.

  1. Open IIS Manager by clicking Start => All Programs => Administrative Tools => Internet Information Services (IIS) Manager.

  2. In the IIS Manager tool, browse to the Default Web Site node in the Console tree.

  3. In the Work area, double-click on the Error Pages icon in the IIS menu to bring up the list of custom error pages.

  4. In the Actions pane, click the Add button to add a new custom error page.

    This will launch the Add Custom Error Page dialog box.

  5. In the Add Custom Error Page dialog box, enter 403.4 in the Status Code field.

  6. In the Response Action box, click the option Respond With A 302 Redirect. In the absolute URL field, enter the full HTTPS URL to OWA. For example, this could be https://mail.contoso.com/owa.

  7. Click OK to make the changes and close the dialog box.

Other -----------------
- Exchange Server 2003 : Configuring Interoperability with Other SMTP Messaging Systems
- Exchange Server 2003 : Configuring SMTP Security and Advanced Options
- BizTalk Server 2006 Operations : Maintaining the BizTalk Group (part 3) - Restore Procedures
- BizTalk Server 2006 Operations : Maintaining the BizTalk Group (part 2) - Backup Procedures
- BizTalk Server 2006 Operations : Maintaining the BizTalk Group (part 1) - SQL Agent Job Configuration
- BizTalk Server 2006 Operations : Configuration and Management
- Exchange Server 2003 : SMTP Protocol Configuration and Management - Managing SMTP Message Transfer Support
- Exchange Server 2003 : Virtual Servers - Configuring Authentication
- Exchange Server 2003 : Configuring Virtual Server Settings
- Overview of Exchange Server 2003 Virtual Servers
- Microsoft Exchange Server 2003 : Public Folder Security
- Microsoft Exchange Server 2003 : Administering Public Folders
- BizTalk 2010 Recipes : Business Rules Framework - Deploying and Undeploying Policies
- BizTalk 2010 Recipes : Business Rules Framework - Calling the Business Rules Engine from an Orchestration
- BizTalk 2010 Recipes : Business Rules Framework - Calling the Business Rules Engine from dot NET
- BizTalk 2010 Recipes : Business Rules Framework - Creating Custom Fact Retrievers
- BizTalk 2010 Recipes : Business Rules Framework - Setting Rule Priorities
- BizTalk 2010 Recipes: Business Rules Framework - Creating Facts
- BizTalk 2010 Recipes: Business Rules Framework - Creating and Testing Rules
- BizTalk 2010 Recipes: Business Rules Framework - Creating a Business Policy
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us